package com.eoner.baselib.container;

import com.google.gson.annotations.SerializedName;

/**
 * 文件名：CommonBaseResponse
 * 描 述：model的容器
 * 作 者：gyq
 * 时 间：2021-1-22
 */
public class CommonBaseResponse<T> {

    @SerializedName("code")
    public int code;
    @SerializedName("msg")
    public String msg;
    @SerializedName("data")
    public T data;
    @SerializedName("args")
    public ArgsBean args;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public ArgsBean getArgs() {
        return args;
    }

    public void setArgs(ArgsBean args) {
        this.args = args;
    }

    public static class ArgsBean {
        /**
         * cart_num : 0
         * is_vip : 0
         */
        @SerializedName("cart_num")
        public String cartNum;
        @SerializedName("is_vip")
        public String isVip;
        @SerializedName("is_partner")
        public String isPartner;
    }
}
